<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-27 23:58:12
 * @lastTime 2020-04-28 00:10:20
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */
namespace Design\Behavioral\Command;

class HelloCommand implements Command
{

    protected $outputs;


    public function __construct(Receiver $console)
    {
        $this->outputs = $console;

    }//end __construct()


    public function execute()
    {
        $this->outputs->write('Hello World');

    }//end execute()


}//end class
